<template>
  <div>
    使用$route.params.xx获取参数<br/>
    id:{{$route.params.id}}<br/>
    name:{{$route.params.name}}
  </div>
</template>
<script>
  export default {
    components: {},
    data () {
      return {}
    },
    created () {
//      console.log('111', this.$route.query.id)
    },
    mounted () {

    },
    methods: {}
  }
</script>
<style>

</style>
